<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Chengyun_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-chengyun_id" data-rule="required" data-source="chengyun/index" class="form-control selectpage" name="row[chengyun_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bianma')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bianma" class="form-control" name="row[bianma]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bianmacode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bianmacode" class="form-control" name="row[bianmacode]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dingdan_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dingdan_id" data-rule="required" data-source="dingdan/index" class="form-control selectpage" name="row[dingdan_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Yundan_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-yundan_id" data-rule="required" data-source="yundan/index" class="form-control selectpage" name="row[yundan_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cheliang_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cheliang_id" data-rule="required" data-source="cheliang/index" class="form-control selectpage" name="row[cheliang_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fache')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fache" class="form-control" name="row[fache]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Daoda')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-daoda" class="form-control" name="row[daoda]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="1"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
